using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class FxEnage : MonoBehaviour
{
    private float m_iEngageTime = 2.0f;

    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        m_iEngageTime -= Time.unscaledDeltaTime;
        if (m_iEngageTime <= 0) {
            SceneManager.LoadScene("Level1");
            AudioManager.Instance.PlayerBGM2();
            return;
        }
    }
}
